﻿<UserControl x:Class="map1.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:myControl="clr-namespace:System.Windows;assembly=System.Windows.Controls"
    xmlns:chartingToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
    xmlns:chartingPrimitivesToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting.Primitives;assembly=System.Windows.Controls.DataVisualization.Toolkit"
    xmlns:bing="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl"
    mc:Ignorable="d"
    d:DesignHeight="700" d:DesignWidth="998" xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" Loaded="UserControl_Loaded">

    <Grid x:Name="LayoutRoot">
        <controls:TabControl HorizontalAlignment="Stretch" Margin="0,67,0,0" Name="tabMain" VerticalAlignment="Stretch">
            <controls:TabItem Header="Search" Name="tabItem1" Background="Aqua">
                <Grid ShowGridLines="False">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="375" />
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <controls:GridSplitter Height="100" HorizontalAlignment="Left" Margin="375,0,0,0" Name="gridSplitter1" VerticalAlignment="Top" Width="10" />
                    
                    <!--****Important****-->
                    <!--You have to put your Bing map key here to get the product working-->
                    <!--for Hydroweb.info-->
                    <bing:Map Center="39.842286,-100.195312" CredentialsProvider="Get your Bing map key here!!!" Name="mapDG" ZoomLevel="4" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Column="2"  MouseDragBox="mapDG_MouseDragBox" MouseClick="mapDG_MouseClick" UseInertia="True"/>
                   
                    <!--<Canvas Height="484" HorizontalAlignment="Stretch" Margin="6" Name="canvas1" VerticalAlignment="Stretch" Width="228">-->
                        <controls:TabControl Canvas.Left="0" Canvas.Top="8" Name="tabSearch" Width="375" VerticalContentAlignment="Top" HorizontalAlignment="Left" HorizontalContentAlignment="Left" FontSize="9" FontFamily="Arial" FontWeight="Bold" Height="417" VerticalAlignment="Top">
                            <controls:TabItem Header="Area" Name="tabItem2">
                            <Grid Name="gridArea">
                                <!--<dataInput:Label Content="A" FontSize="11" FontWeight="Normal" HorizontalAlignment="Left" Margin="6,108,0,296" Name="label9" Width="21" />-->
                                <CheckBox Content="Select Target Area" Height="19" HorizontalAlignment="Left" Margin="10,8,0,0" Name="cbSelectArea" VerticalAlignment="Top" Width="129" IsChecked="True" FontSize="11" FontWeight="Normal" Click="cbSelectArea_Checked"/>
                                <Grid Height="346" HorizontalAlignment="Left" Margin="4,33,0,0" Name="gridAreaSelection" VerticalAlignment="Top" Width="356" >
                                    <RadioButton Content="By Map (Key Cntrl + Mouse Button Drag)" Height="16" HorizontalAlignment="Left" Margin="6,3,0,0" Name="rbMap" VerticalAlignment="Top" IsChecked="True" FontSize="11" FontWeight="Normal" Click="rbManual_Click"/>
                                    <Image Height="60" HorizontalAlignment="Left" Margin="27,22,0,0" Name="imgSelectRectangle" Stretch="Fill" VerticalAlignment="Top" Width="130" Source="/map1;component/Images/ab_lat_long.png" />
                                    <RadioButton Content="Manually (Enter values in Text Boxes)" Height="16" HorizontalAlignment="Left" Margin="6,86,0,0" Name="rbManual" VerticalAlignment="Top" FontSize="11" FontWeight="Normal" Click="rbManual_Click"/>
                                    <dataInput:Label Content="Longitude" FontSize="11" FontWeight="Normal" Height="18" HorizontalAlignment="Left" Margin="121,105,0,0" Name="lblLongitude" VerticalAlignment="Top" Width="68" />
                                    <dataInput:Label Content="Latitude" FontSize="11" FontWeight="Normal" Height="18" HorizontalAlignment="Left" Margin="32,105,0,0" Name="lblLatitude" VerticalAlignment="Top" Width="68" />
                                    <dataInput:Label Content="B" FontSize="11" FontWeight="Normal" Height="18" HorizontalAlignment="Left" Margin="5,162,0,0" Name="lbPointB" VerticalAlignment="Top" Width="21" />
                                    <dataInput:Label Height="18" HorizontalAlignment="Left" Margin="6,124,0,0" Name="lbPointA" VerticalAlignment="Top" Width="16" Content="A" FontSize="11" FontWeight="Normal" />
                                    <Grid Height="73" HorizontalAlignment="Left" Margin="19,116,0,0" Name="gridLatLong" VerticalAlignment="Top" Width="180">
                                        <TextBox Height="19" HorizontalAlignment="Left" Margin="93,6,0,0" Name="txtboxALong" VerticalAlignment="Top" Width="74" IsEnabled="False" TextChanged="fillSearchSummary" />
                                        <TextBox Height="19" HorizontalAlignment="Left" Margin="6,6,0,0" Name="txtboxALat" VerticalAlignment="Top" Width="74" IsEnabled="False" TextChanged="fillSearchSummary" />
                                        <TextBox Height="19" HorizontalAlignment="Left" Margin="6,42,0,0" Name="txtboxBLat" VerticalAlignment="Top" Width="74" IsEnabled="False" TextChanged="fillSearchSummary" />
                                        <TextBox Height="19" HorizontalAlignment="Left" Margin="93,42,0,0" Name="txtboxBLong" VerticalAlignment="Top" Width="74" IsEnabled="False" TextChanged="fillSearchSummary" />
                                    </Grid>
                                    <Button x:Name="btnManual" Width="30" Height="30" Margin="205,148,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Visibility="Collapsed" Click="btnManual_Click">
                                        <Image Source="/map1;component/Images/SelByRect.png" Stretch="None" />
                                    </Button>
                                    <RadioButton Content="By Shape selection (Beta - not implemented!)" FontSize="11" FontWeight="Normal" Height="16" HorizontalAlignment="Left" Margin="6,208,0,0" Name="rbShape" VerticalAlignment="Top" Width="344" />
                                    <Grid Height="109" HorizontalAlignment="Left" Margin="5,230,0,0" Name="grid7" VerticalAlignment="Top" Width="351">
                                        <RadioButton Content="Watershed (US)" Height="17" HorizontalAlignment="Left" Margin="3,21,0,0" Name="rbWater" VerticalAlignment="Top" Width="106" FontSize="11" FontWeight="Normal" IsChecked="True" />
                                        <RadioButton Content="Administrative (US)" FontSize="11" FontWeight="Normal" Height="17" HorizontalAlignment="Left" IsChecked="False" Margin="3,48,0,0" Name="rbAdmin" VerticalAlignment="Top" Width="119" />
                                        <dataInput:Label Height="16" HorizontalAlignment="Left" Margin="126,6,0,0" Name="label10" VerticalAlignment="Top" Width="69" Content="Type" />
                                        <dataInput:Label Content="Value" Height="16" HorizontalAlignment="Left" Margin="187,6,0,0" Name="label68" VerticalAlignment="Top" Width="69" />
                                        <Button Content="Load Map" Height="22" HorizontalAlignment="Left" Margin="272,81,0,0" Name="btnLoadshape" VerticalAlignment="Top" Width="63" Click="btnLoadshape_Click" />
                                        <ComboBox Height="19" HorizontalAlignment="Left" Margin="119,19,0,0" Name="cbWatershedtype" VerticalAlignment="Top" Width="62" />
                                        <ComboBox Height="19" HorizontalAlignment="Left" Margin="119,46,0,0" Name="cbAdmintype" VerticalAlignment="Top" Width="62" />
                                        <ComboBox Height="19" HorizontalAlignment="Left" Margin="187,19,0,0" Name="cbWatershedvalue" VerticalAlignment="Top" Width="155">
                                            <ComboBoxItem Content="Arkansas-White-Red Region" />
                                        </ComboBox>
                                        <ComboBox Height="19" HorizontalAlignment="Left" Margin="187,46,0,0" Name="cbAdminvalue" VerticalAlignment="Top" Width="155" />
                                        <TextBox Height="20" HorizontalAlignment="Left" Margin="10,82,0,0" Name="textString" VerticalAlignment="Top" Width="237" />
                                    </Grid>
                                </Grid>
                                <Button Height="33" HorizontalAlignment="Left" Margin="301,23,0,0" Name="btnHelparea" VerticalAlignment="Top" Width="33" Click="btnHelparea_Click">
                                    <Button.Content>
                                        <Image Source="/map1;component/Images/help-icon32x32.png"></Image>
                                    </Button.Content>
                                </Button>
                                <!--<controls:GridSplitter Height="100" HorizontalAlignment="Stretch" Margin="230,216,127,68" Name="gridsplitArea" VerticalAlignment="Center" />-->
                            </Grid>
                        </controls:TabItem>
                        <controls:TabItem Header="Options">
                            <Grid Height="387" Name="grid2" Width="363">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="382*" />
                                    <RowDefinition Height="5*" />
                                </Grid.RowDefinitions>
                                <dataInput:Label Content="Start Date" FontSize="11" FontWeight="Normal" Height="17" HorizontalAlignment="Left" Margin="8,5,0,0" Name="label3" VerticalAlignment="Top" Width="70" />
                                <dataInput:Label Content="End Date" FontSize="11" FontWeight="Normal" Height="17" HorizontalAlignment="Left" Margin="142,5,0,0" Name="label4" VerticalAlignment="Top" Width="70" />
                                <controls:DatePicker FontSize="11" FontWeight="Normal" HorizontalAlignment="Left" Margin="10,19,0,344" Name="datepickStart" Width="116" SelectedDateChanged="datepickStart_SelectedDateChanged" />
                                <controls:DatePicker FontSize="11" FontWeight="Normal" Height="19" HorizontalAlignment="Left" Margin="142,19,0,0" Name="datepickEnd" VerticalAlignment="Top" Width="114" SelectedDateChanged="datepickEnd_SelectedDateChanged" />
                                <CheckBox Click="checkboxWebServices_Click" Content="Show Webservices Selection Panel" FontSize="11" FontWeight="Normal" Height="16" HorizontalAlignment="Left" Margin="10,58,0,0" Name="checkboxWebServices" VerticalAlignment="Top" />
                                <ListBox HorizontalAlignment="Left" Margin="6,80,0,138" Name="lbWebServices" Visibility="Collapsed" Width="351">
                                    <ListBox.ItemTemplate>
                                        <DataTemplate>
                                            <StackPanel Orientation="Horizontal">
                                                <CheckBox IsChecked="{Binding Path=IsChecked, Mode=TwoWay}" Click="webservices_update"/>
                                                <TextBlock Text="{Binding Path=Name}" Margin="3" />
                                                <!--<CheckBox Content="{Binding Name}" IsChecked="{Binding Checked, Mode=TwoWay}" />-->
                                                <!--<TextBlock Text="{Binding Path=Name}" Margin="3" />-->
                                            </StackPanel>
                                        </DataTemplate>
                                    </ListBox.ItemTemplate>
                                </ListBox>
                                <ListBox Height="117" HorizontalAlignment="Left" Margin="7,265,0,0" Name="lbSelectedWebservices" VerticalAlignment="Top" Width="295">
                                    <ListBoxItem Content="All Webservices" />
                                </ListBox>
                                <dataInput:Label Height="17" HorizontalAlignment="Left" Margin="6,250,0,0" Name="label13" VerticalAlignment="Top" Width="142" Content="Selected WebServices" FontWeight="Normal" FontSize="11" />
                                <CheckBox Content="Select All" Height="20" HorizontalAlignment="Left" Margin="290,54,0,0" Name="cbSelectAll" VerticalAlignment="Top" Width="67" Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" FontSize="11" FontWeight="Normal" ClickMode="Press" IsChecked="False" Visibility="Collapsed" />
                                <Button Content="Reset" Height="19" HorizontalAlignment="Left" Margin="264,19,0,0" Name="btnDatesReset" VerticalAlignment="Top" Width="45" Click="btnDatesReset_Click" />
                                <ListBox Height="55" HorizontalAlignment="Left" Margin="309,324,0,0" Name="lbWebServicesSupport" VerticalAlignment="Top" Width="46" Visibility="Collapsed" />
                                <ListBox Height="48" HorizontalAlignment="Left" Margin="306,265,0,0" Name="listBox1" VerticalAlignment="Top" Width="47" Visibility="Collapsed" />
                                <Button Height="33" HorizontalAlignment="Left" Margin="325,6,0,0" Name="btnDatewebservices" VerticalAlignment="Top" Width="33" Click="btnDatewebservices_Click">
                                    <Image Source="/map1;component/Images/help-icon32x32.png" />
                                </Button>
                            </Grid>
                        </controls:TabItem>
                        <controls:TabItem Header="Keywords">
                            <Grid Height="385" Name="grid3" Width="361">
                                <dataInput:Label Height="17" HorizontalAlignment="Left" Margin="6,9,0,0" Name="label5" VerticalAlignment="Top" Width="181" FontWeight="Normal" FontSize="11" Content="Keywords: Type in First few letters.." />
                                <TextBox Height="22" HorizontalAlignment="Left" Margin="6,22,0,0" Name="tboTypeKeyword" VerticalAlignment="Top" Width="237" FontSize="11" FontWeight="Normal" TextChanged="tboTypeKeyword_TextChanged" />
                                <!--<ListBox Height="233" HorizontalAlignment="Left" Margin="8,52,0,0" Name="lbKeywords" VerticalAlignment="Top" Width="163" FontWeight="Normal" SelectionChanged="lbKeywords_SelectionChanged" />-->
                                <ListBox Height="233" HorizontalAlignment="Left" Margin="8,52,0,0" Name="lbKeywords" VerticalAlignment="Top" Width="347" FontWeight="Normal" MouseLeftButtonUp="lbKeywords_MouseLeftButtonUp" />
                                <controls:TreeView Height="233" HorizontalAlignment="Left" Margin="177,52,0,0" Name="tvKeywords" VerticalAlignment="Top" Width="178" Visibility="Collapsed">
                                    <controls:TreeView.ItemTemplate>
                                        <myControl:HierarchicalDataTemplate ItemsSource="{Binding SubCategory}">
                                            <StackPanel>
                                                <TextBlock Text="{Binding Name}" />
                                            </StackPanel>
                                        </myControl:HierarchicalDataTemplate>
                                    </controls:TreeView.ItemTemplate>
                                </controls:TreeView>
                                <dataInput:Label Height="14" HorizontalAlignment="Left" Margin="65,293,0,0" Name="label6" VerticalAlignment="Top" Width="98" FontSize="11" FontWeight="Normal" Content="Selected Keyword**" />
                                <ListBox Height="72" HorizontalAlignment="Left" Margin="8,307,0,0" Name="lbSelectedKeywords" VerticalAlignment="Top" Width="155" SelectionMode="Multiple" />
                                <Button Content="+" Height="19" HorizontalAlignment="Left" Margin="11,286,0,0" Name="btnAddkeyword" VerticalAlignment="Top" Width="21" FontSize="11" FontWeight="ExtraBold" Click="btnAddkeyword_Click" />
                                <Button Content="-" Height="19" HorizontalAlignment="Left" Margin="38,286,0,0" Name="btnRemoveKeyword" VerticalAlignment="Top" Width="21" FontSize="11" FontWeight="ExtraBold" Click="btnRemoveKeyword_Click" />
                                <TextBlock Height="24" HorizontalAlignment="Left" Margin="168,352,0,0" Name="textBlock2" Text="** Currently, only one keyword can be selected" VerticalAlignment="Top" Width="183" TextWrapping="Wrap"/>
                                <Button Height="33" HorizontalAlignment="Left" Margin="313,10,0,0" Name="btnHelpkeyword" VerticalAlignment="Top" Width="33" Click="btnHelpkeyword_Click">
                                    <Image Source="/map1;component/Images/help-icon32x32.png" />
                                </Button>
                            </Grid>
                        </controls:TabItem>
                        <controls:TabItem Header="Results">
                            <Grid Height="384" Name="grid4" Width="364">
                                <data:DataGrid AutoGenerateColumns="True" Height="288" HorizontalAlignment="Left" Margin="8,6,0,0" Name="dgSeriesList" VerticalAlignment="Top" Width="350" IsReadOnly="True" RowBackground="LightYellow" AlternatingRowBackground="LightYellow" MouseLeftButtonUp="dgSeriesList_MouseLeftButtonUp" /><!--RowStyle="{StaticResource newDataGridStyle}"--> <!--RowBackground="LightYellow"/>--><!--AlternatingRowBackground="LightCyan" />-->
                                <!--<data:DataGrid x:Name="dgSeriesList" RowStyle="{StaticResource DataGridRowStyle}" AutoGenerateColumns="True" Height="305" HorizontalAlignment="Left" Margin="8,6,0,0" VerticalAlignment="Top" Width="350" IsReadOnly="True"/>-->
                                <dataInput:Label Height="20" HorizontalAlignment="Left" Margin="9,296,0,0" Name="lblSearchResult" VerticalAlignment="Top" Width="223" FontSize="12" />
                                <CheckBox Content="Enable selection of Pushpins on the Map"  Height="18" HorizontalAlignment="Left" Margin="8,310,0,0" Name="cbEnableSelection" VerticalAlignment="Top" Width="223" FontSize="11" FontWeight="Normal" Click="cbEnableSelection_Click"/>
                                <dataInput:Label Height="18" HorizontalAlignment="Left" Margin="8,327,0,0" Name="lblSelectedPins" VerticalAlignment="Top" Width="203" FontSize="12" FontWeight="Normal" />
                                <Button Content="Export to CSV" Height="22" HorizontalAlignment="Left" Margin="250,300,0,0" Name="btnExportCSV" VerticalAlignment="Top" Width="108" FontSize="12" FontWeight="Normal" Click="btnExportCSV_Click" />
                                <Button Content="Data Series Download" Height="42" HorizontalAlignment="Left" Margin="220,338,0,0" Name="btnDownload" VerticalAlignment="Top" Width="142" FontSize="12" FontWeight="Bold" Visibility="Collapsed" Click="btnDownload_Click" BorderBrush="#FFEF2E2E" Background="#FFEFD025" BorderThickness="3"></Button>
                                <!--Here comes the 'map selection mode'-->
                                <Grid Height="37" HorizontalAlignment="Left" Margin="7,343,0,0" Name="gridMapStatus" VerticalAlignment="Top" Width="131" Background="{x:Null}">
                                    <dataInput:Label Height="17" HorizontalAlignment="Left" Margin="7,4,0,0" Name="lblSelectArea" VerticalAlignment="Top" Width="84" Content="Select Map Area" FontFamily="Portable User Interface" Foreground="#FF5858F5" />
                                    <dataInput:Label Height="18" HorizontalAlignment="Left" Margin="7,21,0,0" Name="lblSelectPushpins" VerticalAlignment="Top" Width="84" Content="Select Pushpins" Foreground="#FF5858F5" FontFamily="Portable User Interface" />
                                    <Rectangle Height="12" HorizontalAlignment="Left" Margin="104,4,0,0" Name="rectSelectMapArea" Stroke="{x:Null}" StrokeThickness="1" VerticalAlignment="Top" Width="14" Fill="#FFFAC832" />
                                    <Rectangle Fill="#FFFAC832" Height="12" HorizontalAlignment="Left" Margin="105,21,0,0" Name="rectSelectPushpins" Stroke="{x:Null}" StrokeThickness="1" VerticalAlignment="Top" Width="14" Visibility="Collapsed" />
                                </Grid>
                            </Grid>
                        </controls:TabItem>
                        <!--<controls:TabItem Header="Search Management">
                            <Grid Height="420" Name="grid5" Width="364">
                                <dataInput:Label Height="20" HorizontalAlignment="Left" Margin="6,7,0,0" Name="label7" VerticalAlignment="Top" Width="90" FontSize="11" FontWeight="Normal" Content="Save Search" />
                                <dataInput:Label Content="Restore Search" FontSize="11" FontWeight="Normal" Height="20" HorizontalAlignment="Left" Margin="4,44,0,0" Name="label8" VerticalAlignment="Top" Width="90" />
                                <TextBox Height="19" HorizontalAlignment="Left" Margin="90,6,0,0" Name="textBox2" VerticalAlignment="Top" Width="144" FontSize="11" FontWeight="Normal" />
                                <ListBox Height="87" HorizontalAlignment="Left" Margin="94,43,0,0" Name="listBox3" VerticalAlignment="Top" Width="140" />
                            </Grid>
                        </controls:TabItem>-->
                        <controls:TabItem Header=" Search Statistics">
                            
                        </controls:TabItem>
                    </controls:TabControl>
                    <dataInput:Label Height="18" HorizontalAlignment="Left" Margin="0,423,0,0" Name="label1" VerticalAlignment="Top" Width="104" Content="Search Summary" />
                    <Button Content="Run Search" Height="26" Margin="268,420,7,0" Name="btnRunSearch" VerticalAlignment="Top" FontWeight="Bold" BorderThickness="4" BorderBrush="Cyan" Click="btnRunSearch_Click">
                        <ToolTipService.ToolTip>
                            <ToolTip Content="Start the Search with all parameters."></ToolTip>
                        </ToolTipService.ToolTip>
                    </Button>
                    <Grid HorizontalAlignment="Left" Height="144" Margin="2,449,0,0" Name="grid6" Width="368" ShowGridLines="True" OpacityMask="{x:Null}" Background="#FFE5F5EF" VerticalAlignment="Top">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="18"></RowDefinition>
                            <RowDefinition Height="18"></RowDefinition>
                            <RowDefinition Height="18"></RowDefinition>
                            <RowDefinition Height="18"></RowDefinition>
                            <RowDefinition Height="36"></RowDefinition>
                            <RowDefinition Height="36"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="80"></ColumnDefinition>
                            <ColumnDefinition Width="265"></ColumnDefinition>
                            <ColumnDefinition Width="*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <dataInput:Label Height="18" Name="lbl_A" Width="67" Grid.Row="0" Grid.Column="0" Content="A(Lat,Long)" FontSize="9" FontWeight="SemiBold" />
                        <dataInput:Label Height="18" Name="lbl_B" Width="67" Grid.Row="1" Grid.Column="0" Content="B(Lat,Long)" FontSize="9" FontWeight="SemiBold" />
                        <dataInput:Label Height="18" Name="lbl_StartDate" Width="67" Grid.Row="2" Grid.Column="0" Content="Start Date" FontSize="9" FontWeight="SemiBold" />
                        <dataInput:Label Height="18" Name="lbl_EndDate" Width="67" Grid.Row="3" Grid.Column="0" Content="End Date" FontSize="9" FontWeight="SemiBold" />
                        <dataInput:Label Height="18" Name="lbl_WebServices" Width="67" Grid.Row="4" Grid.Column="0" Content="WebServices" FontSize="9" FontWeight="SemiBold" VerticalAlignment="Top" />
                        <dataInput:Label Height="18" Name="lbl_Keywords" Width="67" Grid.Row="5" Grid.Column="0" Content="Keywords" FontSize="9" FontWeight="SemiBold" VerticalAlignment="Top" />

                        <dataInput:Label Height="18" Name="lbl_A_Value" Width="200" Grid.Row="0" Grid.Column="1" FontSize="9" FontWeight ="Normal" Content="" HorizontalAlignment="Left" Margin="3,0,0,0" />
                        <dataInput:Label Height="18" Name="lbl_B_Value" Width="200" Grid.Row="1" Grid.Column="1" FontSize="9" FontWeight ="Normal" Content="" HorizontalAlignment="Left" Margin="3,0,0,0" />
                        <dataInput:Label Height="18" Name="lbl_StartDate_Value" Width="200" Grid.Row="2" Grid.Column="1" FontSize="9" FontWeight ="Normal" Content="" HorizontalAlignment="Left" Margin="3,0,0,0" />
                        <dataInput:Label Height="18" Name="lbl_EndDate_Value" Width="200" Grid.Row="3" Grid.Column="1" FontSize="9" FontWeight ="Normal" Content="" HorizontalAlignment="Left" Margin="3,0,0,0" />
                        <!--<dataInput:Label Height="36" Name="lbl_WebServices_Value" Width="275" Grid.Row="4" Grid.Column="1" FontSize="9" FontWeight ="Normal" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" />-->
                        <!--<dataInput:Label Height="36" Name="lbl_Keywords_Value" Width="275" Grid.Row="5" Grid.Column="1" FontSize="9" FontWeight ="Normal" Content="" HorizontalAlignment="Left" VerticalAlignment="Top"/>-->
                        <TextBlock Height="36" Name="lbl_WebServices_Value" Width="260" Grid.Row="4" Grid.Column="1"  FontSize="9" FontWeight ="Normal"  HorizontalAlignment="Left"  VerticalAlignment="Top" TextWrapping="Wrap" Margin="3,0,0,0" />
                        <TextBlock Height="36" Name="lbl_Keywords_Value" Width="260" Grid.Row="5" Grid.Column="1"  FontSize="9" FontWeight ="Normal"  HorizontalAlignment="Left"  VerticalAlignment="Top" TextWrapping="Wrap" Margin="3,0,0,0" />
                        <Button Grid.Row="0" Grid.Column="2" Height="14" HorizontalAlignment="Center" Name="btnA" VerticalAlignment="Center" Width="14" BorderThickness="4" BorderBrush="Cyan"/>
                        <Button Grid.Row="1" Grid.Column="2" Height="14" HorizontalAlignment="Center" Name="btnB" VerticalAlignment="Center" Width="14" BorderThickness="4" BorderBrush="Cyan"/>
                        <Button Grid.Row="2" Grid.Column="2" Height="14" HorizontalAlignment="Center" Name="btnS" VerticalAlignment="Center" Width="14" BorderThickness="4" BorderBrush="Green"/>
                        <Button Grid.Row="3" Grid.Column="2" Height="14" HorizontalAlignment="Center" Name="btnE" VerticalAlignment="Center" Width="14" BorderThickness="4" BorderBrush="Green"/>
                        <Button Grid.Row="4" Grid.Column="2" Height="14" HorizontalAlignment="Center" Name="btnW" VerticalAlignment="Center" Width="14" BorderThickness="4" BorderBrush="Cyan"/>
                        <Button Grid.Row="5" Grid.Column="2" Height="14" HorizontalAlignment="Center" Name="btnK" VerticalAlignment="Center" Width="14" BorderThickness="4" BorderBrush="Cyan" Click="btnK_Click" />
                    </Grid>
                    <!--</Canvas>-->
                </Grid>
            </controls:TabItem>
            <controls:TabItem Header="Table" Background="Aqua">
                <Grid Name="maingridTable">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="375" />
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <controls:GridSplitter Height="100" HorizontalAlignment="Left" Margin="375,0,0,0" Name="gridsplitTable" VerticalAlignment="Top" Width="10" />
                    <!--<Grid Height="585" Margin="6,5,11,0" Name="gridSubTable" VerticalAlignment="Top" Width="258" />-->
                    <data:DataGrid AutoGenerateColumns="True" Margin="4,0,0,0" Name="datagridMainTable" VerticalAlignment="Stretch" Background="#FFE5F8F0" Grid.Column="1"/>
                    <dataInput:Label Height="18" HorizontalAlignment="Left" Margin="7,454,0,0" Name="lblTotalTableRows" VerticalAlignment="Top" Width="256" />
                    <Button Content="Count rows" Height="24" HorizontalAlignment="Left" Margin="6,481,0,0" Name="button2" VerticalAlignment="Top" Width="71" Click="button2_Click" />
                    <data:DataGrid AutoGenerateColumns="True" Height="418" HorizontalAlignment="Left" Margin="7,6,0,0" Name="datagridIndexTable" VerticalAlignment="Top" Width="368" AreRowDetailsFrozen="False" IsReadOnly="False" /> <!--AlternatingRowBackground="#FF8198CE"-->
                    <Button Content="Export Data" Height="25" HorizontalAlignment="Left" Margin="283,430,0,0" Name="btnExportdatatoCSV" VerticalAlignment="Top" Width="92" Click="btnExportdatatoCSV_Click" />
                </Grid>
            </controls:TabItem>
            <controls:TabItem Header="Graph" Background="Aqua">
                <Grid Name="maingridGraph">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="375" />
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <controls:GridSplitter Height="100" HorizontalAlignment="Left" Margin="375,0,0,0" Name="gridsplitGraph" VerticalAlignment="Top" Width="10" />
                    <data:DataGrid AutoGenerateColumns="True" Height="431" HorizontalAlignment="Left" Margin="3,3,0,0" Name="datagridGraphIndex" VerticalAlignment="Top" Width="372" SelectionChanged="datagridGraphIndex_SelectionChanged"/> <!--AlternatingRowBackground="#FFE1BDF2"-->
                    <chartingToolkit:Chart Name="timeseriesGraph" Margin="4,0,0,0" Grid.Column="1" VerticalAlignment="Stretch" Title="" IsEnabled="True" LegendTitle=""> <!-- Title="Chart Trials">-->
                        <chartingToolkit:Chart.Series>
                            <chartingToolkit:LineSeries
                                    IndependentValueBinding="{Binding Path=Key}"
                                    DependentValueBinding="{Binding Path=Value}" Title="">
                            </chartingToolkit:LineSeries>
                        </chartingToolkit:Chart.Series>
                    </chartingToolkit:Chart>
                    <dataInput:Label Height="23" HorizontalAlignment="Left" Margin="5,439,0,0" Name="lblExplainGraph" VerticalAlignment="Top" Width="364" Content="To render graph, please click on any data series available above.." FontSize="11" FontWeight="Normal" Foreground="#FF3333E8" />
                </Grid>
            </controls:TabItem>
            <controls:TabItem Header="Help" Background="YellowGreen">
                <Grid Height="606" Name="grid1" Width="997" VerticalAlignment="Top" HorizontalAlignment="Left">
                    <Image Height="300" HorizontalAlignment="Left" Margin="0" Name="image1" Source="/map1;component/Images/help_selectarea.png" Stretch="Fill" VerticalAlignment="Top" Width="400" />
                    <Image Height="300" HorizontalAlignment="Left" Margin="476,0,0,0" Name="image2" Source="/map1;component/Images/help_datewebservices.png" Stretch="Fill" VerticalAlignment="Top" Width="400" />
                    <Image Height="300" HorizontalAlignment="Left" Margin="0,300,0,0" Name="image3" Source="/map1;component/Images/help_keywords.png" Stretch="Fill" VerticalAlignment="Top" Width="400" />
                </Grid>
            </controls:TabItem>
            <controls:TabItem Header="About us" Background="YellowGreen">
                <Grid Height="417" Name="grid5" Width="523" VerticalAlignment="Top" HorizontalAlignment="Left">
                    <TextBlock FontSize="9" Foreground="#FF9D8B8B" Height="69" HorizontalAlignment="Right" Margin="0,10,281,0" Name="textBlock1" Text="This website is being developed by Dinesh Grover and Dr. Dan Ames as an Academic Exercise (Geospatial Software Lab, Idaho State University, Idaho Falls). For more information email me:    dinesh@hydroweb.info" TextWrapping="Wrap" VerticalAlignment="Top" Visibility="Visible" Width="232" />
                    <HyperlinkButton Content="Click to Email" Height="23" HorizontalAlignment="Left" Margin="10,85,0,0" Name="hyperlinkButton1" VerticalAlignment="Top" Width="100" NavigateUri="mailto:dinesh@hydroweb.info" Background="{x:Null}" BorderBrush="#FFBA5858" BorderThickness="2" FontWeight="Bold"></HyperlinkButton>
                </Grid>
            </controls:TabItem>
            <controls:TabItem Header="Feedback" Background="OrangeRed" FontStyle="Italic" FontWeight="Bold" ToolTipService.ToolTip="Please help us to improve!">
                <Grid Name="feedbackGrid">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="516"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <controls:GridSplitter Height="100" HorizontalAlignment="Left" Margin="516,0,0,0" Name="gridsplitFeedback" VerticalAlignment="Top" Width="10"/>
                    <!--<Image Height="517" HorizontalAlignment="Left" Margin="0,1,0,0" Name="imgFeedback" Stretch="Fill" VerticalAlignment="Top" Width="516" Source="/map1;component/Images/hydroweb_survey_support_1.png" Visibility="Visible"/>-->
                    <!--for Hydroweb.info-->
                    <!--<bing:Map Center="39.842286,-100.195312" CredentialsProvider="At7K1gXS8IJztTl5p0uH2x_wwIbG_yzH9YxlYfUs9oXEpeeoP_KAUgBWRX3jS_mz" Name="mapFeedback" ZoomLevel="4" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Column="2" UseInertia="True"/>-->
                    <Grid Height="585" HorizontalAlignment="Left" Margin="5,5,0,0" Name="gridSurvey" VerticalAlignment="Top" Width="953" Grid.ColumnSpan="2">
                        
                        <dataInput:Label Height="22" HorizontalAlignment="Left" Margin="8,13,0,0" Name="label2" VerticalAlignment="Top" Width="490" Content="Questionnaire for User Interface Satisfaction" Foreground="#FF1E1EC4" FontSize="12" FontStretch="SemiCondensed" />
                        <dataInput:Label Height="19" HorizontalAlignment="Left" Margin="8,52,0,0" Name="label7" VerticalAlignment="Top" Width="195" Content="Reading characters on the screen" />
                        <dataInput:Label HorizontalAlignment="Left" Margin="232,53,0,0" Name="label8" Width="64" Content="hard" Height="22" VerticalAlignment="Top" />
                        <dataInput:Label Content="Easy" Height="22" HorizontalAlignment="Left" Margin="411,51,0,0" Name="label9" VerticalAlignment="Top" Width="33" />
                        <dataInput:Label Height="16" HorizontalAlignment="Left" Margin="305,36,0,0" Name="label11" VerticalAlignment="Top" Width="15" Content="1" FontWeight="Bold" />
                        <dataInput:Label Content="2" FontWeight="Bold" HorizontalAlignment="Left" Margin="325,36,0,533" Name="label12" Width="15" />
                        <dataInput:Label Content="3" FontWeight="Bold" Height="16" HorizontalAlignment="Left" Margin="344,36,0,0" Name="label16" VerticalAlignment="Top" Width="15" />
                        <dataInput:Label Content="4" FontWeight="Bold" Height="16" HorizontalAlignment="Left" Margin="363,36,0,0" Name="label17" VerticalAlignment="Top" Width="15" />
                        <dataInput:Label Content="5" FontWeight="Bold" Height="16" HorizontalAlignment="Left" Margin="385,36,0,0" Name="label18" VerticalAlignment="Top" Width="15" />
                        <dataInput:Label Content=" Organization of information" Height="19" HorizontalAlignment="Left" Margin="4,76,0,0" Name="label19" VerticalAlignment="Top" Width="195" />
                        <dataInput:Label Content="confusing" Height="22" HorizontalAlignment="Left" Margin="232,77,0,0" Name="label20" VerticalAlignment="Top" Width="64" />
                        <dataInput:Label Content="Very Clear" Height="22" HorizontalAlignment="Left" Margin="411,75,0,0" Name="label21" VerticalAlignment="Top" Width="87" />
                        <dataInput:Label Content="Sequence of work flow" Height="19" HorizontalAlignment="Left" Margin="7,100,0,0" Name="label22" VerticalAlignment="Top" Width="195" />
                        <dataInput:Label Content="confusing" Height="22" HorizontalAlignment="Left" Margin="231,101,0,0" Name="label23" VerticalAlignment="Top" Width="65" />
                        <dataInput:Label Content="Very Clear" Height="22" HorizontalAlignment="Left" Margin="410,99,0,0" Name="label24" VerticalAlignment="Top" Width="87" />
                        <dataInput:Label Content="Screen" Height="19" HorizontalAlignment="Left" Margin="9,32,0,0" Name="label25" VerticalAlignment="Top" Width="51" FontWeight="Bold" />
                        <dataInput:Label Content="Terminology and User Interface information" FontWeight="Bold" Height="19" HorizontalAlignment="Left" Margin="9,130,0,0" Name="label26" VerticalAlignment="Top" Width="286" />
                        <dataInput:Label Content="Message prompts for missing values" Height="19" HorizontalAlignment="Left" Margin="9,151,0,0" Name="label27" VerticalAlignment="Top" Width="223" />
                        <dataInput:Label Content="confusing" Height="22" HorizontalAlignment="Left" Margin="230,152,0,0" Name="label28" VerticalAlignment="Top" Width="63" />
                        <dataInput:Label Content="Clear" Height="22" HorizontalAlignment="Left" Margin="412,150,0,0" Name="label29" VerticalAlignment="Top" Width="33" />
                        <dataInput:Label Content="System informs of its progress" Height="19" HorizontalAlignment="Left" Margin="7,175,0,0" Name="label30" VerticalAlignment="Top" Width="195" />
                        <dataInput:Label Content="never" Height="22" HorizontalAlignment="Left" Margin="229,176,0,0" Name="label31" VerticalAlignment="Top" Width="54" />
                        <dataInput:Label Content="Always" Height="22" HorizontalAlignment="Left" Margin="412,174,0,0" Name="label32" VerticalAlignment="Top" Width="87" />
                        <dataInput:Label Content="Text in Error messages, if any" Height="19" HorizontalAlignment="Left" Margin="8,199,0,0" Name="label33" VerticalAlignment="Top" Width="195" />
                        <dataInput:Label Content="unhelpful" Height="22" HorizontalAlignment="Left" Margin="228,200,0,0" Name="label34" VerticalAlignment="Top" Width="63" />
                        <dataInput:Label Content="Helpful" Height="22" HorizontalAlignment="Left" Margin="411,198,0,0" Name="label35" VerticalAlignment="Top" Width="87" />
                        <dataInput:Label Content="Use of terms throughout the interface" Height="17" HorizontalAlignment="Left" Margin="7,221,0,0" Name="label36" VerticalAlignment="Top" Width="215" />
                        <dataInput:Label Content="inconsistent" Height="22" HorizontalAlignment="Left" Margin="227,222,0,0" Name="label37" VerticalAlignment="Top" Width="74" />
                        <dataInput:Label Content="Consistent" Height="22" HorizontalAlignment="Left" Margin="410,220,0,0" Name="label38" VerticalAlignment="Top" Width="87" />
                        <dataInput:Label Content="Learning and Help Module" FontWeight="Bold" Height="19" HorizontalAlignment="Left" Margin="8,247,0,0" Name="label39" VerticalAlignment="Top" Width="286" />
                        <dataInput:Label Content="Learning to operate the user interface" Height="19" HorizontalAlignment="Left" Margin="8,268,0,0" Name="label40" VerticalAlignment="Top" Width="213" />
                        <dataInput:Label Content="difficult" Height="22" HorizontalAlignment="Left" Margin="229,269,0,0" Name="label41" VerticalAlignment="Top" Width="63" />
                        <dataInput:Label Content="Easy" Height="22" HorizontalAlignment="Left" Margin="411,267,0,0" Name="label42" VerticalAlignment="Top" Width="33" />
                        <dataInput:Label Content=" Exploring new features by trial/error" Height="19" HorizontalAlignment="Left" Margin="4,292,0,0" Name="label43" VerticalAlignment="Top" Width="217" />
                        <dataInput:Label Content="difficult" Height="22" HorizontalAlignment="Left" Margin="228,293,0,0" Name="label44" VerticalAlignment="Top" Width="54" />
                        <dataInput:Label Content="Easy" Height="22" HorizontalAlignment="Left" Margin="411,291,0,0" Name="label45" VerticalAlignment="Top" Width="87" />
                        <dataInput:Label Content="Performing tasks is straight foward" Height="19" HorizontalAlignment="Left" Margin="8,316,0,0" Name="label46" VerticalAlignment="Top" Width="195" />
                        <dataInput:Label Content="never" Height="22" HorizontalAlignment="Left" Margin="227,317,0,0" Name="label47" VerticalAlignment="Top" Width="63" />
                        <dataInput:Label Content="Always" Height="22" HorizontalAlignment="Left" Margin="410,315,0,0" Name="label48" VerticalAlignment="Top" Width="87" />
                        <dataInput:Label Content="Help messages on the screen" Height="17" HorizontalAlignment="Left" Margin="8,338,0,0" Name="label49" VerticalAlignment="Top" Width="215" />
                        <dataInput:Label Content="unhelpful" Height="22" HorizontalAlignment="Left" Margin="226,339,0,0" Name="label50" VerticalAlignment="Top" Width="74" />
                        <dataInput:Label Content="Helpful" Height="22" HorizontalAlignment="Left" Margin="409,337,0,0" Name="label51" VerticalAlignment="Top" Width="87" />
                        <dataInput:Label Content="Level of system help module" Height="17" HorizontalAlignment="Left" Margin="8,359,0,0" Name="label52" VerticalAlignment="Top" Width="215" />
                        <dataInput:Label Content="confusing" Height="22" HorizontalAlignment="Left" Margin="226,360,0,0" Name="label53" VerticalAlignment="Top" Width="74" />
                        <dataInput:Label Content="Clear" Height="22" HorizontalAlignment="Left" Margin="409,359,0,0" Name="label54" VerticalAlignment="Top" Width="87" />
                        <dataInput:Label Content="System capabilities" FontWeight="Bold" Height="19" HorizontalAlignment="Left" Margin="482,48,0,0" Name="label55" VerticalAlignment="Top" Width="286" />
                        <dataInput:Label Content="System/User interface reliability" Height="19" HorizontalAlignment="Left" Margin="482,70,0,0" Name="label56" VerticalAlignment="Top" Width="213" />
                        <dataInput:Label Content="unreliable" Height="22" HorizontalAlignment="Left" Margin="703,70,0,0" Name="label57" VerticalAlignment="Top" Width="63" />
                        <dataInput:Label Content="Reliable" Height="22" HorizontalAlignment="Left" Margin="885,68,0,0" Name="label58" VerticalAlignment="Top" Width="47" />
                        <dataInput:Label Content="Designed for all level of users" Height="19" HorizontalAlignment="Left" Margin="482,94,0,0" Name="label59" VerticalAlignment="Top" Width="217" />
                        <dataInput:Label Content="never" Height="22" HorizontalAlignment="Left" Margin="702,94,0,0" Name="label60" VerticalAlignment="Top" Width="54" />
                        <dataInput:Label Content="Always" Height="22" HorizontalAlignment="Left" Margin="885,92,0,0" Name="label61" VerticalAlignment="Top" Width="87" />
                        <dataInput:Label Content="Overall reaction to the user interface" FontWeight="Bold" Height="19" HorizontalAlignment="Left" Margin="482,126,0,0" Name="label62" VerticalAlignment="Top" Width="286" />
                        <dataInput:Label Content="Adequacy of interface viz objectives" Height="19" HorizontalAlignment="Left" Margin="482,148,0,0" Name="label63" VerticalAlignment="Top" Width="213" />
                        <dataInput:Label Content="inadequate" Height="22" HorizontalAlignment="Left" Margin="703,148,0,0" Name="label64" VerticalAlignment="Top" Width="63" />
                        <dataInput:Label Content="Stimulating" Height="22" HorizontalAlignment="Left" Margin="885,146,0,0" Name="label65" VerticalAlignment="Top" Width="67" />
                        <dataInput:Label Content="Your Name" Height="19" HorizontalAlignment="Left" Margin="483,190,0,0" Name="label66" VerticalAlignment="Top" Width="213" />
                        <TextBox Height="25" HorizontalAlignment="Left" Margin="566,186,0,0" Name="textGivenname" VerticalAlignment="Top" Width="207" />
                        <dataInput:Label Content="Your email id" Height="19" HorizontalAlignment="Left" Margin="483,216,0,0" Name="label67" VerticalAlignment="Top" Width="82" />
                        <TextBox Height="25" HorizontalAlignment="Left" Margin="566,212,0,0" Name="textEmailid" VerticalAlignment="Top" Width="207" />
                        <Button Content="Submit" Height="43" HorizontalAlignment="Left" Margin="852,188,0,0" Name="btnsurveySubmit" VerticalAlignment="Top" Width="78" Click="btnsurveySubmit_Click" />
                        <StackPanel Height="21" HorizontalAlignment="Left" Margin="301,49,0,0" Name="sprb1" VerticalAlignment="Top" Width="105" Orientation="Horizontal">
                            <RadioButton GroupName="rb1" Height="16" Name="rb1a" Width="20" />
                            <RadioButton GroupName="rb1" Height="16" Name="rb1b" Width="20" />
                            <RadioButton GroupName="rb1" Height="16" Name="rb1c" Width="20" />
                            <RadioButton GroupName="rb1" Height="16" Name="rb1d" Width="20" />
                            <RadioButton GroupName="rb1" Height="16" Name="rb1e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="20" HorizontalAlignment="Left" Margin="301,74,0,0" Name="sprb2" VerticalAlignment="Top" Width="107" Orientation="Horizontal">
                            <RadioButton GroupName="rb2" Height="16" Name="rb2a" Width="20" />
                            <RadioButton GroupName="rb2" Height="16" Name="rb2b" Width="20" />
                            <RadioButton GroupName="rb2" Height="16" Name="rb2c" Width="20" />
                            <RadioButton GroupName="rb2" Height="16" Name="rb2d" Width="20" />
                            <RadioButton GroupName="rb2" Height="16" Name="rb2e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="19" HorizontalAlignment="Left" Margin="301,100,0,0" Name="sprb3" VerticalAlignment="Top" Width="104" Orientation="Horizontal">
                            <RadioButton GroupName="rb3" Height="16" Name="rb3a" Width="20" />
                            <RadioButton GroupName="rb3" Height="16" Name="rb3b" Width="20" />
                            <RadioButton GroupName="rb3" Height="16" Name="rb3c" Width="20" />
                            <RadioButton GroupName="rb3" Height="16" Name="rb3d" Width="20" />
                            <RadioButton GroupName="rb3" Height="16" Name="rb3e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="19" HorizontalAlignment="Left" Margin="301,151,0,0" Name="sprb4" VerticalAlignment="Top" Width="105" Orientation="Horizontal">
                            <RadioButton GroupName="rb4" Height="16" Name="rb4a" Width="20" />
                            <RadioButton GroupName="rb4" Height="16" Name="rb4b" Width="20" />
                            <RadioButton GroupName="rb4" Height="16" Name="rb4c" Width="20" />
                            <RadioButton GroupName="rb4" Height="16" Name="rb4d" Width="20" />
                            <RadioButton GroupName="rb4" Height="16" Name="rb4e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="19" HorizontalAlignment="Left" Margin="301,174,0,0" Name="sprb5" VerticalAlignment="Top" Width="105" Orientation="Horizontal">
                            <RadioButton GroupName="rb5" Height="16" Name="rb5a" Width="20" />
                            <RadioButton GroupName="rb5" Height="16" Name="rb5b" Width="20" />
                            <RadioButton GroupName="rb5" Height="16" Name="rb5c" Width="20" />
                            <RadioButton GroupName="rb5" Height="16" Name="rb5d" Width="20" />
                            <RadioButton GroupName="rb5" Height="16" Name="rb5e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="20" HorizontalAlignment="Left" Margin="301,198,0,0" Name="sprb6" VerticalAlignment="Top" Width="105" Orientation="Horizontal">
                            <RadioButton GroupName="rb6" Height="16" Name="rb6a" Width="20" />
                            <RadioButton GroupName="rb6" Height="16" Name="rb6b" Width="20" />
                            <RadioButton GroupName="rb6" Height="16" Name="rb6c" Width="20" />
                            <RadioButton GroupName="rb6" Height="16" Name="rb6d" Width="20" />
                            <RadioButton GroupName="rb6" Height="16" Name="rb6e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="19" HorizontalAlignment="Left" Margin="301,221,0,0" Name="sprb7" VerticalAlignment="Top" Width="105" Orientation="Horizontal">
                            <RadioButton GroupName="rb7" Height="16" Name="rb7a" Width="20" />
                            <RadioButton GroupName="rb7" Height="16" Name="rb7b" Width="20" />
                            <RadioButton GroupName="rb7" Height="16" Name="rb7c" Width="20" />
                            <RadioButton GroupName="rb7" Height="16" Name="rb7d" Width="20" />
                            <RadioButton GroupName="rb7" Height="16" Name="rb7e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="19" HorizontalAlignment="Left" Margin="302,268,0,0" Name="sprb8" VerticalAlignment="Top" Width="107" Orientation="Horizontal">
                            <RadioButton GroupName="rb8" Height="16" Name="rb8a" Width="20" />
                            <RadioButton GroupName="rb8" Height="16" Name="rb8b" Width="20" />
                            <RadioButton GroupName="rb8" Height="16" Name="rb8c" Width="20" />
                            <RadioButton GroupName="rb8" Height="16" Name="rb8d" Width="20" />
                            <RadioButton GroupName="rb8" Height="16" Name="rb8e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="17" HorizontalAlignment="Left" Margin="302,292,0,0" Name="sprb9" VerticalAlignment="Top" Width="107" Orientation="Horizontal">
                            <RadioButton GroupName="rb9" Height="16" Name="rb9a" Width="20" />
                            <RadioButton GroupName="rb9" Height="16" Name="rb9b" Width="20" />
                            <RadioButton GroupName="rb9" Height="16" Name="rb9c" Width="20" />
                            <RadioButton GroupName="rb9" Height="16" Name="rb9d" Width="20" />
                            <RadioButton GroupName="rb9" Height="16" Name="rb9e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="16" HorizontalAlignment="Left" Margin="302,317,0,0" Name="sprb10" VerticalAlignment="Top" Width="106" Orientation="Horizontal">
                            <RadioButton GroupName="rb10" Height="16" Name="rb10a" Width="20" />
                            <RadioButton GroupName="rb10" Height="16" Name="rb10b" Width="20" />
                            <RadioButton GroupName="rb10" Height="16" Name="rb10c" Width="20" />
                            <RadioButton GroupName="rb10" Height="16" Name="rb10d" Width="20" />
                            <RadioButton GroupName="rb10" Height="16" Name="rb10e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="15" HorizontalAlignment="Left" Margin="302,337,0,0" Name="sprb11" VerticalAlignment="Top" Width="109" Orientation="Horizontal">
                            <RadioButton GroupName="rb11" Height="16" Name="rb11a" Width="20" />
                            <RadioButton GroupName="rb11" Height="16" Name="rb11b" Width="20" />
                            <RadioButton GroupName="rb11" Height="16" Name="rb11c" Width="20" />
                            <RadioButton GroupName="rb11" Height="16" Name="rb11d" Width="20" />
                            <RadioButton GroupName="rb11" Height="16" Name="rb11e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="18" HorizontalAlignment="Left" Margin="302,358,0,0" Name="sprb12" VerticalAlignment="Top" Width="109" Orientation="Horizontal">
                            <RadioButton GroupName="rb12" Height="16" Name="rb12a" Width="20" />
                            <RadioButton GroupName="rb12" Height="16" Name="rb12b" Width="20" />
                            <RadioButton GroupName="rb12" Height="16" Name="rb12c" Width="20" />
                            <RadioButton GroupName="rb12" Height="16" Name="rb12d" Width="20" />
                            <RadioButton GroupName="rb12" Height="16" Name="rb12e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="18" HorizontalAlignment="Left" Margin="777,68,0,0" Name="sprb13" VerticalAlignment="Top" Width="106" Orientation="Horizontal">
                            <RadioButton GroupName="rb13" Height="16" Name="rb13a" Width="20" />
                            <RadioButton GroupName="rb13" Height="16" Name="rb13b" Width="20" />
                            <RadioButton GroupName="rb13" Height="16" Name="rb13c" Width="20" />
                            <RadioButton GroupName="rb13" Height="16" Name="rb13d" Width="20" />
                            <RadioButton GroupName="rb13" Height="16" Name="rb13e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="18" HorizontalAlignment="Left" Margin="777,94,0,0" Name="sprb14" VerticalAlignment="Top" Width="104" Orientation="Horizontal">
                            <RadioButton GroupName="rb14" Height="16" Name="rb14a" Width="20" />
                            <RadioButton GroupName="rb14" Height="16" Name="rb14b" Width="20" />
                            <RadioButton GroupName="rb14" Height="16" Name="rb14c" Width="20" />
                            <RadioButton GroupName="rb14" Height="16" Name="rb14d" Width="20" />
                            <RadioButton GroupName="rb14" Height="16" Name="rb14e" Width="20" />
                        </StackPanel>
                        <StackPanel Height="19" HorizontalAlignment="Left" Margin="777,144,0,0" Name="sprb15" VerticalAlignment="Top" Width="104" Orientation="Horizontal">
                            <RadioButton GroupName="rb15" Height="16" Name="rb15a" Width="20" />
                            <RadioButton GroupName="rb15" Height="16" Name="rb15b" Width="20" />
                            <RadioButton GroupName="rb15" Height="16" Name="rb15c" Width="20" />
                            <RadioButton GroupName="rb15" Height="16" Name="rb15d" Width="20" />
                            <RadioButton GroupName="rb15" Height="16" Name="rb15e" Width="20" />
                        </StackPanel>
                    </Grid>
                    <!--for westernconsortium.org-->
                    <!--<bing:Map Center="39.504041,-112.236328" CredentialsProvider="AuDgxXJk3hPxIAvA4_IZRZgxUMfidNTiAPPvfcWMv2XFE6MpRekORjbM31DwkgB3" Name="mapDG" ZoomLevel="5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Column="2"  MouseDragBox="mapDG_MouseDragBox" MouseClick="mapDG_MouseClick" UseInertia="True"/>-->
                </Grid>
            </controls:TabItem>
        </controls:TabControl>
        <Image Height="50" HorizontalAlignment="Left" Margin="0,1,0,0" Name="imgWeb" Stretch="Fill" VerticalAlignment="Top" Width="150" Source="/map1;component/Images/hydroweb_logo.png" Visibility="Visible" />
        <Grid Height="77" HorizontalAlignment="Left" Margin="507,10,0,0" Name="gridUserLogin" VerticalAlignment="Top" Width="278" ShowGridLines="False" Background="#FCD9EFEB" UseLayoutRounding="True" Visibility="Collapsed">
            <dataInput:Label Height="16" HorizontalAlignment="Left" Name="lblUser" VerticalAlignment="Top" Width="81" Content="Registered Users" FontFamily="Arial" FontSize="9" Foreground="#FF266565" FontWeight="Bold"></dataInput:Label>
            <dataInput:Label HorizontalAlignment="Left" Margin="1,17,0,0" Name="label14" Width="50" Content="Email" FontFamily="Arial" FontSize="9" Foreground="#FF266565" Height="14" VerticalAlignment="Top"></dataInput:Label>
            <dataInput:Label Height="16" HorizontalAlignment="Left" Margin="1,39,0,0" Name="label15" VerticalAlignment="Top" Width="50" Content="Password" FontFamily="Arial" FontSize="9" Foreground="#FF266565"></dataInput:Label>
            <TextBox Height="20" HorizontalAlignment="Left" Margin="62,12,0,0" Name="textBox3" VerticalAlignment="Top" Width="154" />
            <Button Content="Login" Height="30" HorizontalAlignment="Left" Margin="226,24,0,0" Name="btnLogin" VerticalAlignment="Top" Width="46" />
            <dataInput:Label Height="14" HorizontalAlignment="Left" Margin="242,1,0,0" Name="lblNew" VerticalAlignment="Top" Width="34" Content="New?" Foreground="#FF3E73E8" />
            <dataInput:Label Height="14" HorizontalAlignment="Left" Margin="177,59,0,0" Name="lblResetPassword" VerticalAlignment="Top" Width="99" Content="Reset Password?" Foreground="#FF3E73E8" />
            <PasswordBox Height="21" HorizontalAlignment="Left" Margin="62,36,0,0" Name="passwordUsers" VerticalAlignment="Top" Width="154" />
        </Grid>
        <Image Height="31" Name="imageHIS" Stretch="Fill" VerticalAlignment="Top" Source="/map1;component/Images/hisa100x41.png" Margin="404,60,0,0" HorizontalAlignment="Left" Width="75" />
        <TextBlock Height="24" HorizontalAlignment="Left" Margin="482,71,0,0" Name="textHISname" Text="Web interface for data search and download from CUAHSI's Hydrologic Information System (CUAHSI-HIS)" VerticalAlignment="Top" Width="230" TextWrapping="Wrap" FontSize="9" FontFamily="Arial" />
        <Image Height="62" HorizontalAlignment="Right" Margin="0,2,0,0" Name="imgGsl" Stretch="Fill" VerticalAlignment="Top" Width="200" Source="/map1;component/Images/gsl200x62.png" />
        <!--<HyperlinkButton Cursor="Hand" TargetName="_blank" NavigateUri="http://www.mapwindow.org/conference/2011/">
                <Image Height="59" HorizontalAlignment="Left" Margin="503,4,0,0" Name="img_mapwindow" Stretch="Fill" VerticalAlignment="Top" Width="284" Source="/map1;component/Images/mapwindow_conf_2011.jpg"/>
        </HyperlinkButton>-->
    </Grid>
</UserControl>
